package com.financing.platform.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.IFpFundMCDao;
import com.financing.platform.dto.FpFundMCDTO;
import com.financing.platform.service.IFpFundMCService;

/**
 * @Description:Service实现类
 * @version 1.0
 * @created caojiayao
 */
 
@Service(value="fpFundMCService")
public class FpFundMCServiceImpl implements IFpFundMCService {
    @Autowired
	private IFpFundMCDao fpFundMCDao;
	
	
	@Override
	public FpFundMCDTO getFpFundMC(Integer id) {
		return fpFundMCDao.getFpFundMC(id);
	}
	
	
	@Override
	public Integer insertFpFundMC(FpFundMCDTO dto) {
		return fpFundMCDao.insertFpFundMC(dto);
	}

	
	@Override
	public Integer updateFpFundMC(FpFundMCDTO dto) {
		return fpFundMCDao.updateFpFundMC(dto);
	}
	
	@Override
	public Integer delFpFundMC(Integer id) {
		return fpFundMCDao.delFpFundMC(id);
	}
	
	@Override
	public List<FpFundMCDTO> listFpFundMC(FpFundMCDTO dto) {
		return fpFundMCDao.listFpFundMC(dto);
	}
	
	@Override
	public List<FpFundMCDTO> listFpFundMCByPage(FpFundMCDTO dto) {
		return fpFundMCDao.listFpFundMCByPage(dto);
	}
	
	@Override
	public Integer countFpFundMC(FpFundMCDTO dto){
		return fpFundMCDao.countFpFundMC(dto);
	}
}
